/**
 * 时间 ： 2014-6-10 下午2:28:50
 * 作者 ： HaiTao
 * 描述 ： 当前类的描述信息
 **/
package com.laitaoo.controller
{
	import com.laitaoo.event.StockListEvent;
	import com.laitaoo.service.home.StockListService;

	[Component]
	public class StockController
	{
		public function StockController()
		{
		}
		
		[Inject]
		public var stockListService:StockListService;
		
		[EventHandler]
		public function getStockDateListHandler(event:StockListEvent):void{
			
			stockListService.getStockDateList();
		}
		
		[EventHandler]
		public function getStockListByDayIdHandler(event:StockListEvent):void{
			
			stockListService.getStockList(event.dayId);
		}
	}
}